module.exports = {
  crumbs: {
    type: Array,
    default () {
      return [
        {
          name: '第一层级',
          href: '/nav1.html?hhh=dd',
          target: '_blank'
        },
        {
          name: '第二层级',
          href: '/nav2.html',
          target: '_blank'
        },
        {
          name: '当前层级1'
        },
        {
          name: '当前层级2'
        }
      ]
    },
    name: '面包屑列表',
    filedType: 'api'
  },

  currentCrumbColor: {
    type: String,
    default: '#999',
    name: '激活面包屑颜色',
    filedType: 'color'
  },

  currentCrumbFontSize: {
    type: String,
    default: '12px',
    name: '激活面包屑字体大小',
    filedType: 'string'
  },

  crumbFontSize: {
    type: String,
    default: '12px',
    name: '面包屑字体大小',
    filedType: 'string'
  },

  crumbColor: {
    type: String,
    default: '#666',
    name: '面包屑颜色',
    filedType: 'color'
  },

  crumbHoverColor: {
    type: String,
    default: '#f12e22',
    name: '面包屑划过颜色',
    filedType: 'color'
  },

  crumbHoverHasUnderline: {
    type: Boolean,
    default: false,
    name: '面包屑划过下划线',
    filedType: 'switch'
  },

  iconSize: {
    type: String,
    default: '8px',
    name: '面包屑图标大小',
    filedType: 'string'
  },

  iconColor: {
    type: String,
    default: '#666',
    name: '面包屑图标颜色',
    filedType: 'color'
  },

  iconMargin: {
    type: String,
    default: '10px',
    name: '面包屑图标外边距（左右）',
    filedType: 'string'
  },

  showFront: {
    type: Boolean,
    default: false,
    name: '显示前置内容',
    filedType: 'switch'
  },
  frontIcon: {
    type: Array,
    default () {
      return []
    },
    name: '前置图标',
    filedType: 'file',
    limit: 1,
    maxSize: 1024
  },
  frontLabel: {
    type: String,
    default: '当前位置:',
    name: '前置内容',
    filedType: 'string'
  },
  frontIconWidth: {
    type: String,
    default: '14px',
    name: '前置图标宽度',
    filedType: 'string'
  },
  frontIconHeight: {
    type: String,
    default: '14px',
    name: '前置图标高度',
    filedType: 'string'
  },

  dataIsFromPortal: {
    type: Boolean,
    default: false,
    name: '是否从门户获取数据',
    nameTips: '如果从门户获取数据，则数据集无效',
    filedType: 'switch'
  },

  useClickFn: {
    type: Boolean,
    default: false,
    name: '启用点击函数',
    filedType: 'switch'
  },
  clickFn: {
    type: Function,
    default: '',
    name: '点击事件函数',
    filedType: 'function'
  },
}
